1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHA00600.xrw
- * 설 명 : 채용건진예약/접수
- * 설 계 자 : 손주연
- * 작 성 자 : 손주연
- * 작 성 일 : 2007.06.13
- * 수정이력 : 김두환 2009년02월17일 수정
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>채용건진등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <rsrvlst>
- <hopedd/>
- <pid/>
- <engnm/>
- <pnm/>
- <brthareacnts/>
- <pkgcd/>
- <pkgnm/>
- <rgstno1/>
- <rgstno2/>
- <sexage/>
- <statflag/>
- <rsrvdd/>
- <rsrvno/>
- <rcptstat/>
- <visano/>
- <totamt/>
- <cmpynm/>
- <rsrvdttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- </rsrvlst>
- <reexlst>
- <hopedd/>
- <pid/>
- <engnm/>
- <pnm/>
- <brthareacnts/>
- <pkgcd/>
- <pkgnm/>
- <rgstno1/>
- <rgstno2/>
- <sexage/>
- <statflag/>
- <rsrvdd/>
- <rsrvno/>
- <rcptstat/>
- <visano/>
- <totamt/>
- <cmpynm/>
- <rsrvdttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- </reexlst>
- <acptlst>
- <orddd/>
- <pid/>
- <visano/>
- <engnm/>
- <pnm/>
- <brthareacnts/>
- <pkgcd/>
- <pkgnm/>
- <rgstno1/>
- <rgstno2/>
- <sexage/>
- <rcptstat/>
- <rsrvdd/>
- <rsrvno/>
- <statflag/>
- <acptflag/>
- <cmpynm/>
- <acptdttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- </acptlst>
- <cncllst>
- <cncldd/>
- <pid/>
- <engnm/>
- <brthareacnts/>
- <pkgcd/>
- <pkgnm/>
- <rgstno1/>
- <rgstno2/>
- <sexage/>
- <rsrvdd/>
- <rsrvno/>
- <statflag/>
- <rcptstat/>
- <visano/>
- <pnm/>
- <cmpynm/>
- <cncldttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- </cncllst>
- <listinfo>
- <acptcnt/>
- <rsrvcnt/>
- <rcptcnt/>
- <cnclcnt/>
- <holdcnt/>
- <failcnt/>
- <outcnt/>
- </listinfo>
- </list>
- <info>
- <patinfo>
- <item>
- <pid/>
- <rgstno1/>
- <rgstno2/>
- <hngnm/>
- <engnm/>
- <brthareacnts/>
- <sex/>
- <age/>
- <brthdd/>
- <zipcd11/>
- <zipcd12/>
- <zipcdseq1/>
- <addr1/>
- <detladdr1/>
- <mpphon/>
- <telno/>
- <emailid/>
- <emailtype/>
- <healexampid/>
- <emailkind/>
- <zipcd21/>
- <zipcd22/>
- <zipcdseq2/>
- <addr2/>
- <detladdr2/>
- <psptno/>
- <pidcretfg/>
- <insuid/>
- <hopedd/>
- <detladdr2/>
- <clntgrde/>
- <patremcnts/>
- <notice/>
- <forgneryn>N</forgneryn>
- </item>
- </patinfo>
- <rsrvacptinfo>
- <item>
- <cmpyflag>N</cmpyflag>
- <orddd/>
- <rsrvdd/>
- <hopedd/>
- <rsrvtm/>
- <rsrvflag>01</rsrvflag>
- <rsltcnstflag>02</rsltcnstflag>
- <rsltcnstrsrvdd/>
- <rsrvguidsendyn/>
- <rsrvguidsenddd/>
- <insucorpbrchcd/>
- <insucorpbrchnm/>
- <insuid/>
- <disccd/>
- <discremark/>
- <emprelacd/>
- <empid/>
- <empnm/>
- <recmempid/>
- <recmempnm/>
- <famypid/>
- <famypnm/>
- <famyrelacd/>
- <deptcd/>
- <deptnm/>
- <clntgrde/>
- <clntempid/>
- <jobposcd/>
- <remcnts/>
- <pkgcd/>
- <pkgnm/>
- <latestpkginfo/>
- <choiflag>01</choiflag>
- <cmpycd/>
- <conseq/>
- <mode/>
- <status/>
- <healexamflag/>
- <healexamdetlflag/>
- <entcodd/>
- <rsltcnststatflag/>
- <dietcnstyn/>
- <orgexamdt/>
- <bizoffccd/>
- <jobkindflag/>
- <pkguncocd/>
- <rsltcnstrsrvtm/>
- <cmpynm/>
- <visaflag/>
- <famylst/>
- <visano/>
- <rsltcnstdrid/>
- <brthareacnts/>
- <acpt_insuid/>
- <acpt_insukind/>
- <discremcnts/>
- <conhistseq/>
- <statflag/>
- <rsltcnststatflag/>
- <rsltcnstrsrvdd/>
- <orddeptcd/>
- <orddrid/>
- <ordtm/>
- <cretno/>
- <acptseqno/>
- <acpt_insucd/>
- <pkgamt/>
- <rsrvno/>
- <rsltcnstdrid/>
- <healexamplacecd/>
- <dcamt/>
- <adddcamt/>
- <clntcmpynm/>
- <clntdeptnm/>
- </item>
- <addlst>
- <sel/>
- <testflag/>
- <testcd/>
- <testnm/>
- <uncocd/>
- <scoreamt/>
- <prcptims/>
- <discamt/>
- <examseq/>
- <calcscorcd/>
- <prcpno/>
- <prcpdd/>
- <m/>
- <grupflag/>
- <addtotamt/>
- </addlst>
- <pkglst>
- <sel/>
- <pkgflag/>
- <pkgcd/>
- </pkglst>
- </rsrvacptinfo>
- <histlst>
- <item>
- <orddd/>
- <pkgcd/>
- <pkgnm/>
- <rsrvdd/>
- <rsrvno/>
- <lastupdtrid/>
- <lastupdtdt/>
- <cmpyflag/>
- <visano/>
- <remcnts/>
- </item>
- </histlst>
- <curlst>
- <item>
- <hopedd/>
- <rsrvtm/>
- <orddd/>
- <testcd/>
- <testnm/>
- <testroomcd/>
- <statflag/>
- <lastupdtrid/>
- <lastupdtdt/>
- </item>
- </curlst>
- <rcptinfo>
- <pkgamt/>
- <cmpyaddamt/>
- <subtotamt/>
- <preamt/>
- <discamt/>
- <uncoamt/>
- <realamt/>
- <ownbamt/>
- <preamt2/>
- <totprercptamt/>
- <psnaddamt/>
- </rcptinfo>
- <visalst>
- <item>
- <visano/>
- </item>
- </visalst>
- <pkgdetl>
- <item>
- <cdnm/>
- <pkgcd/>
- <spcnm/>
- <testnm/>
- <stndval/>
- <padd/>
- </item>
- </pkgdetl>
- <taginfo>
- <rtime/>
- <tagno/>
- <suppstat/>
- </taginfo>
- <rsltcnstinfo>
- <choicnst>
- <rsltcnstflag/>
- <rsltrsrvid/>
- </choicnst>
- <cnstlst>
- <cnst/>
- </cnstlst>
- </rsltcnstinfo>
- </info>
- <sum/>
- <seqprntdata/>
- <visaphot>
- <attachfile>
- <image/>
- </attachfile>
- </visaphot>
- </main>
- <send>
- <srchhealexamdetlflag/>
- <srchfromdd/>
- <srchtodd/>
- <srchpid/>
- <srchpnm/>
- <srchinstcd/>
- <srchhealexamflag/>
- <clscd/>
- <etccd/>
- <save/>
- <srchpnm2/>
- <srchpid2/>
- <srchrsrvdd/>
- <srchrsrvno/>
- <srchjobflag/>
- <savercpt>
- <opmi_out/>
- </savercpt>
- <srchlst>
- <srchfamypid/>
- <srchfamyinstcd/>
- <srchfamyhealexamflag/>
- </srchlst>
- <visanosrch>
- <genrdd/>
- <genrkind/>
- <instcd/>
- </visanosrch>
- <srchvisano/>
- <srcocmlflag/>
- <srchmode>4</srchmode>
- <srchhealexampid/>
- <srchrgstno1/>
- <srchrgstno2/>
- <srchcond/>
- <srchpkgcd/>
- <srchcmpycd/>
- <srchconseq/>
- <srchsex/>
- <savercpt>
- <opmi_out/>
- </savercpt>
- <savercpt>
- <opmi_out/>
- </savercpt>
- <rrgstno/>
- <taginfo/>
- <srchtagno/>
- <savetemprsrv/>
- <attach>
- <file/>
- </attach>
- <visaphotpath/>
- <srchapntprint/>
- <srchtagno/>
- <srchhealexamplacecd/>
- </send>
- <init>
- <baseinfo>
- <pamcdlst>
- </pamcdlst>
- <hedetlflaglst/>
- <detlcodelst/>
- <testflag/>
- <natiinlst/>
- <relacdlst/>
- <heflaglst/>
- <rsltlst/>
- <uncocdlst>
- </uncocdlst>
- <clntgrdlst/>
- <rsrvflaglst/>
- <rsltcnstflaglst/>
- <choiflaglst/>
- <emaillst/>
- <statlst/>
- <healexamplacelst/>
- <cmpydetlcdlst>
- <deptlst/>
- </cmpydetlcdlst>
- <apntprintlst/>
- </baseinfo>
- <srchmode>4</srchmode>
- <place>
- <healexamplacecd/>
- </place>
- </init>
- <hidden>
- <tlst/>
- <item/>
- </hidden>
- <temp>
- <templst/>
- <rcptinfo>
- <hidden/>
- </rcptinfo>
- <rcptno_out/>
- <emailtype/>
- <pkgtestcdlst/>
- <rsrvacptkey/>
- <colgpkgchoiyn>
- <item>
- <existyn/>
- </item>
- </colgpkgchoiyn>
- <temp>
- <psnworkinfo/>
- </temp>
- <rcptCheck/>
- <discamt/>
- <rsrvstate/>
- <sytsrsrvchk/>
- <priceamt/>
- </temp>
- <tmp>
- <testcount/>
- </tmp>
- <source>
- <selflag/>
- <srchcond/>
- <srchpkgflag/>
- <srchcdnm/>
- <srchhealexamflag/>
- <srchhealexamdetlflag/>
- <srchinstcd/>
- <multiyn/>
- <openerid/>
- <sex/>
- <setflag/>
- </source>
- <tag/>
- <image>
- <attachfile>
- <image/>
- </attachfile>
- </image>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA010.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- fInitInfo();
- fInitDate(true);
- fInitList();
- model.toggle("case_acpt");
- fSetBtnStat();
- fGetList();
- //btn_acpt.disabled = true;
- model.refresh();
- ]]>
- </script>
- <submission id="TRAHA00001"/>
- <submission id="TRAHA00002"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMC03802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/result"/>
- <submission id="TRAHA00013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHA04011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
- <submission id="TRAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/histlst"/>
- <submission id="TRAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/pkgtestcdlst"/>
- <submission id="TRAHA00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/cmpydetlcdlst"/>
- <submission id="TRAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rsrvacptkey"/>
- <submission id="TRAHA00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/info/pkgdetl"/>
- <submission id="TRAHA00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/sytsrsrvchk"/>
- <submission id="TRAHA04013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TRAHA00509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/priceamt" replace="instance" resultref="/root/temp/priceamt"/>
- <submission id="TRAHA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchlst" replace="instance" resultref="/root/main/info/rsrvacptinfo/familylst"/>
- <submission id="TRAHA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
- <submission id="TRAHA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
- <submission id="TRAHA00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/patinfo"/>
- <submission id="TRAHA00610" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/visalst/item"/>
- <submission id="TRAHA04017" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/imgbinary"/>
- <submission id="TRAHA02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptno_out"/>
- <submission id="TRAHB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/detlcodelst"/>
- <submission id="TXAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/rsltsave" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHA04027" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
- <submission id="TXAHA04028" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" replace="instance" resultref="/root/tmp"/>
- <submission id="TXAHA04029" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/sendcmts" replace="instance" resultref="/root/tmp"/>
- <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
- <submission id="TXAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/tmp"/>
- <submission id="TXAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHA00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/temprsrv"/>
- <submission id="TXAHA00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/info/rcptinfo"/>
- <submission id="TXAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
- <submission id="TXAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
- <submission id="TRAHA00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/seqprntdata"/>
- <submission id="TXAHA00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/taginfo" resultref="/root/tag"/>
- <submission id="TRAHA00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tag"/>
- <bind id="bind_addtestcd" ref="/root/main/info/acptinfo/addlst/testcd" readonly="../testcdkey!=''"/>
- <bind id="bind1" ref="/root/main/list/rsrvlst/statflag"/>
- <submission id="TRAHA04012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fGetBaseInfo(){
- // 건진상세구분
- var healexamfg = fGetHealExamFlag();
- zbcfGetCodeList( new Array( "A0070" , "A0117","A0465","P0049","A0107"),
- new Array("/root/init/baseinfo/hedetlflaglst"
- ,"/root/init/baseinfo/testflag"
- ,"/root/init/baseinfo/natiinlst"
- ,"/root/init/baseinfo/rsltlst"
- , "/root/init/baseinfo/statlst"
- ) );
- submit("TRZBC00101");
-
- healGetCodeList( new Array("S600","R003")
- , new Array("/root/init/baseinfo/healexamplacelst"
- , "/root/init/baseinfo/apntprintlst") );
-
- healGetCodeListSubmit( new Array("S080")
- , new Array("/root/init/baseinfo/rsltcnstflaglst"), false);
-
- model.removenode("/root/init/baseinfo/healexamplacelst/S600[1]");
-
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- submit("TRAHA00104");
-
- //채용건진 분류코드 Setting
- model.setValue("/root/send/clscd", "G" );
- model.setValue("/root/send/etccd", "G15");
-
- if( submit("TRAHB00602") == true ){
- var nodelst = instance1.selectNodes("/root/init/baseinfo/detlcodelst/item");
- if( nodelst.length == 1) {
- cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item/etcitemcnts");
- }
- else if( nodelst.length > 1){
- for( var i = 0 ; i < nodelst.length ; i++) {
- if( "Y" == model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/useyn") ) {
- cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/etcitemcnts");
- break;
- }
- }
- }
- cmb_healexamdetlflag.value = cmb_srchhealexamdetlflag.value;
- }
- cmb_healexamdetlflag.refresh();
- //cmb_forgneryn.refresh();
- }
- /**
- * 리스트내역 초기화
- */
- function fInitList( ){
- model.removeNodeset("/root/main/list/rsrvlst");
- model.removeNodeset("/root/main/list/acptlst");
- model.removeNodeset("/root/main/list/cncllst");
- model.resetInstanceNode("/root/main/list/listinfo");
- model.removeNodeset(grd_addlst.nodeset);
- }
- /** ==============================================================================================================================================================
- * 결과상담을 등록하는 팝업화면을 띄운다.
- *SPAHA00100_PARAM1 : 건진구분
- *SPAHA00100_PARAM2 : 건진상세구분
- *SPAHA00100_PARAM3 : opener 선택노드 xPath
- *SPAHA00100_PARAM4 : opener 결과노드셋 xPath
- ==================================================================================================================================================================*/
- function fGetRsltRsrvDateTime(vFlag) {
- var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- var sHealexamFlag = model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag");
- var sOutExamYN = "N";
- model.makeValue("/root/main/info/rsltcnstinfo/choicnst/outexamyn",sOutExamYN);
- var sIdx = cmb_rsltcnstlst.focusIndex;
- var nodeIdx = sIdx + 1;
- var rsltRsrvList = instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst");
- var rsltRsrvSaveYN = "";
- var m = "";
-
- var vHealExamFg = model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag") == "" ? fGetHealExamFlag() : model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag");
- var vRsrvdd = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
- var vRsrvno = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
-
- // 공통코드의 비고[ Y인경인 결과상담 시간을 관리 N 경우 시간을 관리 하지 않음]
- var cmt = model.getValue("/root/init/baseinfo/rsltcnstflaglst/S080[" + (cmb_rsltcnstflag.focusIndex + 1) + "]/cmt")
- if( (vHealExamFg == "") || (vRsrvdd == "") || (vRsrvno == "") || (vRsrvno == "0") ) {
- messageBox("대상자를" , "C002");
- return;
- }
-
-
- if(vFlag == "d") {
- // 삭제 시 저장 않 되었을 경우 그냥 삭제한다.
- // 저장된 내역일 경우에는 상담완료여부 및 지난간 일자인지 체크한다.
- rsltRsrvSaveYN = rsltRsrvList.item(sIdx).rsltrsrvsaveyn.text;
- m = rsltRsrvList.item(sIdx).m.text;
- if(rsltRsrvSaveYN == "N" && m == "i") {
- model.removenode("/root/main/info/rsltcnstinfo/cnstlst/cnst[" + nodeIdx+ "]");
- cmb_rsltcnstlst.refresh();
- cmb_rsltcnstlst.select(0);
- return;
- }else if(rsltRsrvSaveYN == "Y") {
- var rsltCnstEndYN = rsltRsrvList.item(sIdx).rsltcnstendyn.text;
- var rsltCnstDD = rsltRsrvList.item(sIdx).rsltcnstdd.text;
- var rsltCnstRsrvEndtm = rsltRsrvList.item(sIdx).rsltcnstrsrvendtm.text;
- if(cmt == "Y") {
- if(rsltCnstEndYN == "Y") {
- messageBox("상담완료이" , "I002");
- return;
- }
- }
- model.setValue("/root/main/info/rsltcnstinfo/cnstlst/cnst[" + nodeIdx + "]/m" ,vFlag);
- model.setValue("/root/main/info/rsltcnstinfo/cnstlst/cnst[" + nodeIdx + "]/rsltrsrvsaveyn" ,"N");
- }
-
- }else if( vFlag == "i") {
- // 한번에 한번씩 예약가능
- if(instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst[m='i' or m='d']" ).length > 0) {
- messageBox("저장 후 상담예약" , "I006" );
- return;
- }
- // 내부검사는 1회로 제한
- if(sOutExamYN == "N") {
- var outExamNodeList = instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst[outexamyn='" + sOutExamYN + "' and m !='-'] " );
- if(outExamNodeList.length > 0) {
- messageBox("내부검사는 1회 등록" , "I006" );
- return;
- }
-
- if(cmb_rsltcnstflag.value == "") {
- messageBox("결과상담 구분을" , "C002" );
- return;
- }
- }
- if(cmt == "Y" || sOutExamYN == "Y") {
- setParameter ("SPAHA00110_PARAM1", sHealexamFlag == "" ? fGetHealExamFlag() : sHealexamFlag);
- setParameter ("SPAHA00110_PARAM2", cmb_healexamdetlflag.value);
- setParameter ("SPAHA00110_PARAM3", "/root/main/info/rsltcnstinfo/choicnst");
- setParameter ("SPAHA00110_PARAM4", "/root/main/info/rsltcnstinfo/cnstlst/cnst");
- modal("SPAHA00110");
- }else if(cmt == "N") {
- var cnt = parseInt(getNodesetCount("/root/main/info/rsltcnstinfo/cnstlst/cnst")) + 1;
- // 기존 인스턴스 순서에 맞추어서 생성해야 함
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstseqno" , 0);
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/outexamyn" , "N");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstflag" , model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltcnstflag"));
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstdd" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstrsrvstarttm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstrsrvendtm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/ownyn" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/visitor" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstdr" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/visittm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnststarttm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstendtm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstendyn" , "N");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnsthistcd" , "O");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstremcnts" , model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltcnstremcnts"));
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/spcffact" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltrsrvid" , "----");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltrsrvnm" , cmb_rsltcnstflag.label);
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltrsrvsaveyn" , "N");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/m" , "i");
-
- }
- }
- }
- /*********************************************************
- **************가족조회하는 함수***************************
- *********************************************************/
- function fSrchFamily(){
- //등록번호가 들어가야 한다는 에러문
- if(ipt_famypid.currentText==""){
- messageBox("가족의 등록번호를 입력하셔야 합니다.","C001");
- return;
- }
- //이름이 들어가야 한다는 에러문
- if (opt_famypnm.currentText==""){
- messageBox("가족의 이름이 등록돼지 않았슴","C001");
- return;
- }
- //가족관계를 입력해야 한다는 에러문
- if(cmb_famyrelacd.label=="" && cmb_famyrelacd.value==""){
- messageBox("가족관계를 입력하셔야 해요","C001");
- return;
- }
- //바로 행 삽입
- grd_family.addRow();
- var vgrd_family_row=grd_family.row;
- grd_family.valueMatrix(vgrd_family_row,1)="N";
- grd_family.valueMatrix(vgrd_family_row,2)=ipt_pid.currentText;
- grd_family.valueMatrix(vgrd_family_row,3)=ipt_famypid.currentText;
- grd_family.valueMatrix(vgrd_family_row,4)=opt_famypnm.currentText;
- grd_family.valueMatrix(vgrd_family_row,5)=cmb_famyrelacd.value;
- grd_family.valueMatrix(vgrd_family_row,6)=cmb_famyrelacd.label;
- model.refresh();
- //ipt_famypid
- //opt_famypnm
- //cmb_famyrelacd
- }
- /**
- * 입력정보 초기화
- */
- function fInitInfo(){
- model.resetInstanceNode("/root/main/info/patinfo/item");
- model.resetInstanceNode("/root/main/info/visalst/item");
- model.resetInstanceNode("/root/main/info/pkgdetl/item");
- model.resetInstanceNode("/root/main/info/histlst/item");
- model.resetInstanceNode("/root/main/info/rsrvacptinfo/item");
- model.resetInstanceNode("/root/image/attachfile/image");
- model.resetInstanceNode("/root/send/attach/file");
- // model.setValue("/root/main/info/patinfo/item/forgneryn","");
-
- fInitRsrvAcptInfo();
- }
- /**
- * 접수 정보 초기화
- */
- function fInitRsrvAcptInfo(){
- model.resetInstanceNode("/root/main/info/rcptinfo");
- model.resetInstanceNode("/root/main/info/rsrvacptinfo/addlst");
- model.resetInstanceNode("/root/main/info/taginfo");
- model.resetInstanceNode("/root/main/info/rsltcnstinfo/cnstlst/cnst");
- model.resetInstanceNode("/root/main/info/rsltcnstinfo/choicnst");
- model.removeNodeset(grd_addlst.nodeset);
- fInitDate(false);
- model.setValue( cmb_healexamdetlflag.attribute("ref") , cmb_srchhealexamdetlflag.value );
- //model.setValue(cmb_pkguncocd.attribute("ref"), "V01" );
- model.setFocus("ipt_rgstno1");
- //model.makeValue( cmb_forgneryn.attribute("ref"), "N");
- model.resetInstanceNode("/root/main/info/taginfo");
- model.resetInstanceNode("/root/main/info/rsltcnstinfo/cnstlst/cnst");
- model.resetInstanceNode("/root/main/info/rsltcnstinfo/choicnst");
- model.makeValue( cmb_rsltcnstflag.attribute("ref"), "");
- cmb_rsltcnstflag.disabled = false;
- btn_tag.attribute("text") = "태그지급";
- ipt_tagno.disabled = false;
- btn_rsltcnstrsrv.disabled = false;
- cmb_rsltcnstlst.refresh();
- cmb_rsltcnstlst.select(0);
- rdo_healexamplacecd.refresh();
- if(rdo_healexamplacecd.value != "" ) {
- rdo_healexamplacecd.dispatch("xforms-select"); // 건진장소 default 셋팅
- }else {
- var sFlag=fGetHealExamPlaceFlag();
- if (sFlag == "G" ) {
- rdo_healexamplacecd.select(0);
- } else {
- rdo_healexamplacecd.select(1);
- }
- }
- }
- /**
- * 일자내역 초기화
- *bSrchDt : 조회일자초기화여부
- */
- function fInitDate(bSrchDt){
- var cur_date = getCurrentDate();
- if(model.getValue(ipt_orddd.attribute("ref")) == "")
- {
- model.setValue( ipt_orddd.attribute("ref") , cur_date);
- }
- model.setValue( ipt_rsrvdd.attribute("ref") , cur_date);
- //out_engnm.value = ipt_engnm.value;
- if( bSrchDt ) {
- model.setValue( ipt_srchtodd.attribute("ref") , cur_date);
- model.setValue( ipt_srchfromdd.attribute("ref") , cur_date);
- }
- }
- /**
- * 버튼상태 setting
- */
- function fSetBtnStat(){
- btn_rcpt.disabled = false;
- btn_rsrvcfm1.disabled = true;
- btn_rsrvcfm2.disabled = true;
- btn_acpt.disabled = true;
- btn_acptcncl.disabled = true;
- btn_rsrvcncl.disabled = true;
- var vStat = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- //if(isXPathTextNull("/root/main/info/rsrvacptinfo/item/statflag") ) return ;
- //alert( vStat );
- if ( vStat == "C" ){
- btn_rsrvcfm1.disabled = false;
- btn_rsrvcfm2.disabled = false;
- btn_rsrvcncl.disabled = false;
- btn_acpt.disabled = false;
- }
- else
- if( vStat == "D"){
- btn_rsrvcfm1.disabled = false;
- btn_rsrvcfm2.disabled = false;
- btn_acpt.disabled = false;
- }
- else
- if( vStat == "E" ){
- btn_acptcncl.disabled = false;
- btn_acpt.disabled = true;
- }
- else
- if( vStat == "F" ){
- btn_rsrvcfm1.disabled = false;
- btn_rsrvcfm2.disabled = false;
- btn_acptcncl.disabled = true;
- btn_acpt.disabled = true;
- }
- else
- if( vStat == "G" ){
- btn_acptcncl.disabled = true;
- btn_acpt.disabled = true;
- }
- else {
- btn_rsrvcfm1.disabled = false;
- btn_rsrvcfm2.disabled = false;
- btn_acpt.disabled = false;
- }
- model.refresh();
- }
- /**
- * 예약/예약등록/접수/취소/보류 리스트 조회
- * 예약등록의 경우 예약등록일자 기준.
- * 예약등록일 = 가예약 + 예약
- * 예약 = 예약
- */
- function fGetList(){
- fInitList();
- if( isXPathTextNull( "/root/send/srchhealexamdetlflag") ||
- isXPathTextNull( "/root/send/srchtodd") ||
- isXPathTextNull( "/root/send/srchfromdd")) return ;
- model.setValue("/root/send/srchhealexamflag", fGetHealExamFlag());
- var vMode = fGetSrchMode();
- model.setValue("/root/send/srchmode", vMode );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- openLoadingBar("건진자 리스트를 가져오는 중입니다..") ;//처리중 화면을 오픈한다.
- submit("TRAHA04013");
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
- /**
- ** 예약구분/상담예약일자 저장
- */ function fSaveRsrvInfo(){
- if( messageBox("건진예약정보를 ", "Q002") != 6 ) return ;
-
- var vHealExamFg = model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag") == "" ? fGetHealExamFlag() : model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag");
- var vRsrvdd = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
- var vRsrvno = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
- var vHealExamDetlFg = model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag");
- var vCretno = model.getValue("/root/main/info/rsrvacptinfo/item/cretno");
- var vRsltcnstremcnts = model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltcnstremcnts");
- var nodeList = null;
-
- if( (vHealExamFg == "") || (vRsrvdd == "") || (vRsrvno == "") || (vRsrvno == "0") ) {
- messageBox("건진내역을 저장", "E001");
- return ;
- }
-
- nodeList = instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst[rsltrsrvsaveyn='N']");
- if(nodeList.length < 1 ) {
- messageBox("결과상담내역이 ", "I004");
- return ;
- }
- var rCSV = getNodeListCSV(nodeList);
- model.makeNode("/root/send/save/rsltsave");
- model.resetInstanceNode("/root/send/save/rsltsave");
- model.makeValue("/root/send/save/rsltsave/healexamflag" , vHealExamFg);
- model.makeValue("/root/send/save/rsltsave/rsrvdd" , vRsrvdd);
- model.makeValue("/root/send/save/rsltsave/rsrvno" , vRsrvno);
- model.makeValue("/root/send/save/rsltsave/rsltcnstremcnts" , vRsltcnstremcnts);
-
- model.makeValue("/root/send/save/rsltsave/healexamdetlflag" ,vHealExamDetlFg );
- model.makeValue("/root/send/save/rsltsave/rsrvdetlflag" ,cmb_healexamdetlflag.value);
- model.makeValue("/root/send/save/rsltsave/rsltrsrv" , rCSV);
- if( submit("TXAHA00104") == true ){
- ahafGetRsrvAcpDetltInfo(vRsrvdd, vRsrvno);
- }
- }
- /** =====================================================================================================================================================================
- * SPAHA00100_PARAM1 : 예약조회구분 [건진전체(T), 검사실(R), 상담의별 결과상담(C)]
- * SPAHA00100_PARAM2 : 예약일자
- * SPAHA00100_PARAM3 : 성별구분(종건예약일정)
- * SPAHA00100_PARAM4 : 예약일자가 setting될 부모 node
- * SPAHA00100_PARAM5 : 예약시간 setting될 부모 node
- * SPAHA00100_PARAM6 : 건진구분
- * ================================================================================================================================================*/
- function fGetRsrvDateTime(vMode, rsrvddObj, rsrvtmObj){
- setParameter ("SPAHA00100_PARAM1", vMode);
- setParameter ("SPAHA00100_PARAM2", ipt_rsrvdd.value );
- setParameter ("SPAHA00100_PARAM3", opt_sex.value );
- if( rsrvddObj != null ) setParameter ("SPAHA00100_PARAM4", rsrvddObj.attribute("ref") );
- if( rsrvtmObj != null ) setParameter ("SPAHA00100_PARAM5", rsrvtmObj.attribute("ref") );
- setParameter ("SPAHA00100_PARAM6", fGetHealExamFlag() );
- setParameter ("SPAHA00100_PARAM7", "/root/main/info/rsrvacptinfo/item/rsltcnstdrid" );
- setParameter ("SPAHA00100_PARAM8", cmb_healexamdetlflag.value);
- modal("SPAHA00100", "", "", "", "SPAHA00100", "/root/source","/root/target");
- }
- /**
- *1:예약, 2:예약등록, 3:접수, 4: 취소및보류, 5: 예약취소, 6: 접수취소, 7:보류
- */
- function fGetSrchMode(){
- var idx = swt_acptlst.selectedIndex ;
- if( idx == 0) {
- idx = 3;
- }
- else if( idx == 1 ){
- idx = 1;
- }
- else if(idx == 2){
- return rdo_cnclmode.value ;
- }
- else if(idx == 3){
- idx = 8;
- }
- return idx;
- }
- /**
- * 예약/접수정보 check.
- */
- function fCheckAcpt(vMode){
- var vRsvdd = "";
- var vStatus = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- //예약/예약확인/예약보류
- if( model.getValue(ipt_pkgcd.attribute("ref") ) == "" ) {
- messageBox("패키지를 ", "C001");
- model.setFocus("ipt_pkgcd");
- return false;
- }
- // if( model.getValue(cmb_pkguncocd.attribute("ref")) == "" ){
- // messageBox("청구구분을 ", "C001");
- // model.setFocus("cmb_pkguncocd");
- // return false;
- // }
- if( (vMode == "C") ){
- if( !isRequiredGroup("ipt_rsrvdd") ) return false;
- vRsvdd = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
- vRsvdd = vRsvdd.toDate("YYYYMMDD");
- if( vRsvdd < getCurrentDate() ){
- messageBox("예약일자가 현재일자 전으로 ", "E005");
- model.setFocus("ipt_rsrvdd");
- return false;
- }
- }
- //접수시
- else
- if( vMode == "E" ){
- if(model.getValue(ipt_orddd.attribute("ref")) == "")
- {
- model.setValue("/root/main/info/rsrvacptinfo/item/orddd", getCurrentDate());
- }
- }
- //예약및접수취소시(D,F)
- else
- if( vMode == "D" ){
- if( vStatus != "C" ){
- messageBox("예약상태가 아닌 항목은 예약취소 ", "E001");
- return false;
- }
- }
- else
- if( vMode == "F" ){
- if( vStatus != "E"){
- messageBox("접수상태가 아닌 항목은 접수취소 ", "E001");
- return false;
- }
- }
- return true;
- }
- /**
- * 건진내역 계산
- 건진구분 :srchhealexamflag
- 예약일자 :srchrsrvdd
- 예약번호 :srchrsrvno
- 등록번호 :srchpid
- 기관코드 :srchinstcd
- */ function fCalcAmt(vJobFlag){
- var ret = -1;
- var vTmp = fGetHealExamFlag();
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchhealexamflag", vTmp );
- vTmp = model.getValue(ipt_pid.attribute("ref"));
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchpid", vTmp );
- vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
- if( vTmp== "" ) return ret;
- model.setValue("/root/send/srchrsrvdd", vTmp );
- vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchrsrvno", vTmp );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchjobflag" ,vJobFlag);
- var sNd = "/root/temp/rcptinfo/hidden/opmi_out";
- model.resetInstanceNode(sNd);
- sNd = sNd + "/";
- openLoadingBar("수납예상내역 계산 중입니다..") ;//처리중 화면을 오픈한다.
- if( submit("TXAHA02101") == true ){
- //model.setValue(opt_pkgamt.attribute("ref") , model.getValue( sNd + "opmi_baseexamamt"));
- //model.setValue(opt_addamt.attribute("ref") , model.getValue( sNd + "opmi_addexamamt"));
- //model.setValue(opt_totamt.attribute("ref") , model.getValue( sNd + "opmi_totamt"));
- model.refresh();
- ret = 1;
- }
- closeLoadingBar() ;//처리중 화면을 close한다.
- return ret;
- }
- /**
- **건진자번호로 예약/접수 상세정보
- */
- function fGetDetlInfoHid(){
- var sHealExamPid = model.getValue("/root/main/info/patinfo/item/healexampid");
- if( sHealExamPid != "" ){
- var vHealExamDetlFg = model.getValue(cmb_healexamdetlflag.attribute("ref") );
- ahafGetRsrvAcpDetltInfoWithPid(vHealExamDetlFg, sHealExamPid);
- }
-
- //인사정보조회
- if( ( model.getValue("/root/main/info/patinfo/item/rgstno1") != "" ) &&
- (model.getValue("/root/main/info/patinfo/item/rgstno2") != "" ) ){
- ipt_pid.disabled = true;
-
- var rrgstno = model.getValue("/root/main/info/patinfo/item/rgstno1") + model.getValue("/root/main/info/patinfo/item/rgstno2") ;
- var retValue = "";
- model.makeNode("/root/send/discpat");
- retValue = fGetPsnWorkInfo(rrgstno);
- if(retValue != "") {
- var retVal = retValue.split('▦');
- model.makeValue("/root/main/info/rsrvacptinfo/item/empid", retVal[0]);
- model.makeValue("/root/main/info/rsrvacptinfo/item/empnm", retVal[1]);
- model.makeValue("/root/main/info/rsrvacptinfo/item/disccd", retVal[2]);
- model.makeValue("/root/main/info/rsrvacptinfo/item/emprelacd", retVal[8]);
- cmb_disccdlst.dispatch("xforms-select");
-
- }
- }
- }
-
- /*********************************************************
- * 원하는 길이만큼 오른쪽으로 문자채움
- *******************************************************/
- function rpad(newValue, len, ch){
- // 오른쪽에 ch문자로 채우기
- var strlen = newValue.getTrim().length;
- var ret = "" ;
- var alen = len - strlen;
- var astr = "";
- //부족한 숫자만큼 len 크기로 ch 문자로 채우기
- for (i=0; i<alen; ++i)
- {
- astr = astr + ch;
- }
- ret = newValue.getTrim() + astr; //뒤에서 채우기
- return ret;
- }
- /****************************************************
- * 가예약자 일괄 취소
- *****************************************************/
- function fDelAllTempRsrv() {
- for(var i=0; i < grd_rsrvlst.rows; i++) {
- var statFlag = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("statflag") );
- if(statFlag == "A") {
- grd_rsrvlst.addStatus( i , "delete");
- }
- }
- model.setValue("/root/send/savetemprsrv" , grd_rsrvlst.getUpdateData());
- var ret = messageBox("가예약일괄 취소를","Q004")
- if(ret == 6) {
- if(submit("TXAHA00114")) {
- fGetList();
- grd_rsrvlst.clearStatus();
- }
- }else if(ret == 7) {
- grd_rsrvlst.clearStatus();
- }
- }
- function fDelTempRsrv() {
- for(var i=0; i < grd_rsrvlst.rows; i++) {
- var statFlag = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("statflag") );
- var rowPid = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("pid") );
- if(statFlag == "A" && rowPid == model.getValue("/root/main/rsrvacptinfo/item/pid")) {
- grd_rsrvlst.addStatus( i , "delete");
- }
- }
- model.setValue("/root/send/savetemprsrv" , grd_rsrvlst.getUpdateData());
- var ret = messageBox("가예약 취소를","Q004")
- if(ret == 6) {
- if(submit("TXAHA00114")) {
- fGetList();
- grd_rsrvlst.clearStatus();
- }
- }else if(ret == 7) {
- grd_rsrvlst.clearStatus();
- }
- }
-
- function fPrntSeq(){
- model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
- model.setValue("/root/send/srchrsrvdd" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd") ); //건진예약등록일자
- model.setValue("/root/send/srchrsrvno" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") ); //건진예약등록번호
- model.setValue("/root/send/srchcmpycd" , model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd" )); //사업체코드
- model.setValue("/root/send/srchconseq" , model.getValue("/root/main/info/rsrvacptinfo/item/conseq" )); //일련번호
- model.setValue("/root/send/srchconseq" , model.getValue("/root/main/info/rsrvacptinfo/item/conhistseq") ); //일련번호
- model.makeValue("/root/send/srchchoiflag" , model.getValue("/root/main/info/rsrvacptinfo/item/choiflag") ); //선택검사
- if( submit("TRAHA00402") == false ) return ;
-
- model.makeNode("/root/main/seqprntdata/pid");
- model.makeNode("/root/main/seqprntdata/hngnm");
- model.makeNode("/root/main/seqprntdata/sexage");
- model.makeNode("/root/main/seqprntdata/pkgnm");
- model.makeNode("/root/main/seqprntdata/brtdd");
-
- model.setValue("/root/main/seqprntdata/pid" ,model.getValue(ipt_pid.attribute("ref") ) ); //등록번호
- model.setValue("/root/main/seqprntdata/hngnm" ,model.getValue(ipt_pnm.attribute("ref")) ); //성명
- model.setValue("/root/main/seqprntdata/sexage" ,model.getValue(opt_sex.attribute("ref")) + "/" + model.getValue(opt_age.attribute("ref")) ); //성별,나이
- model.setValue("/root/main/seqprntdata/pkgnm" ,model.getValue(opt_pkgnm.attribute("ref")) ); //패키지명
- model.setValue("/root/main/seqprntdata/brtdd" ,model.getValue(ipt_brthdd.attribute("ref")) ); //생년월일
- model.makeValue("/root/main/seqprntdata/cmpynm" ,model.getValue("/root/main/info/rsrvacptinfo/item/cmpynm")); //회사명
-
- var nodeList= instance1.selectNodes("/root/main/seqprntdata/item");
- if((nodeList != null) && (nodeList.length >0 )){
- // exeReportPreview("RPAHA00402", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- exeReportPreview("RPAHA00406", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }
- }
-
- function RgstnoCheck(){
- var rgstno1 = ipt_rgstno1.currentText;
- var rgstno2 = ipt_rgstno2.currentText;
-
- var rgstno1 = model.getValue("/root/main/info/patinfo/item/rgstno1").getTrim();
- var rgstno2 = model.getValue("/root/main/info/patinfo/item/rgstno2").getTrim();
- if(rgstno1.length != 6 ){
- messageBox("주민번호 앞6자리 형식오류입니다. 올바른 형태로 입력하십시요!","E999","");
- model.setFocus("ipt_rgstno1");
- return false;
- }else if(rgstno2.length != 7){
- messageBox("주민번호 뒤7자리 형식오류입니다. 올바른 형태로 입력하십시요!","E999","");
- model.setFocus("ipt_rgstno2");
- return false;
- }
-
- return true;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1199;2,785;2,759;">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; ">예약/접수</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_rslt" class="btn3_letter6" style="left:5px; top:4px; width:96px; height:22px; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMAER00800","","","","",ipt_pid.attribute("ref"),"/root/main/info/patinfo/item/pid");
- ]]>
- </script>
- </button>
- <button id="btn_testrsrv" class="btn3_letter6" style="left:110px; top:4px; width:104px; height:22px; ">
- <caption>외래검사예약</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- aezfPopUpRsrvSample("SMAEA02000", "", "/root/main/info/rsrvacptinfo/item");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:925px; top:4px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitInfo();
- fSetBtnStat();
- ]]>
- </script>
- </button>
- <button id="btn_acpt" class="btn4_letter2" style="left:997px; top:4px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitDate(true);
- //주민번호나 이름이 입력이 되지 않았을때
- if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
- messageBox("이름또는 주민번호를 ","C001");
- return;
- }
- //패키지가 입력되지 않았을때
- if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
- messageBox("패키지를 ", "C001");
- return;
- }
-
- //주민등록체크
- if( ! RgstnoCheck() ){
- return false;
- }
-
- model.makeValue("/root/main/info/rsrvacptinfo/item/dgflag","1");
-
- model.makeValue("/root/main/info/rsrvacptinfo/item/insu5","");
- if (model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="G05"){
- model.makeValue("/root/main/info/rsrvacptinfo/item/insu5", "G05");
- }
- fSaveRsrvAcptPro("E");
- fnSetImage();
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_acptcncl" class="btn4_letter4" style="left:1056px; top:4px; width:80px; height:22px; ">
- <caption>접수취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //alert("현재 접수취소는 불가합니다. \n접수취소를 원하시면 처방관리화면에서 처방 전체를 반환해주세요.");
- fSaveRsrvAcptPro("F");
- ]]>
- </script>
- </button>
- <button id="btn_rcpt" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
- <caption>수납</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafOpenRcpt( fGetHealExamFlag()
- , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd")
- , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")
- , model.getValue("/root/main/info/patinfo/item/pid")
- , model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat")
- , model.getValue("/root/main/info/rsrvacptinfo/item/orddd" ) );
- ]]>
- </script>
- </button>
- <button id="btn_rsrvcfm1" class="btn4_letter2" visibility="visible" style="left:780px; top:4px; width:56px; height:22px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //주민번호나 이름이 입력이 되지 않았을때
- if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
- messageBox("이름또는 주민번호를","C001");
- return;
- }
- //패키지가 입력되지 않았을때
- if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
- messageBox("패키지를 ", "C001");
- return;
- }
-
- //주민등록체크
- if( ! RgstnoCheck() ){
- return false;
- }
-
- if (model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") ==""){
- messageBox("예약시간을 ", "C001");
- btn_totrsrvdt.dispatch("DOMActivate");
- }
-
- model.makeValue("/root/main/info/patinfo/item/hopedd",model.getValue("/root/main/info/rsrvacptinfo/item/hopedd"));
- if(model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") !="") {
- fSaveRsrvAcptPro("C");
- fnSetImage();
- fGetList();
- }
- ]]>
- </script>
- </button>
- <button id="btn_rsrvcfm2" class="btn4_letter2" visibility="hidden" style="left:505px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //주민번호나 이름이 입력이 되지 않았을때
- if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
- messageBox("이름또는 주민번호가 입력되지","I001");
- return;
- }
-
- //주민등록체크
- if( ! RgstnoCheck() ){
- return false;
- }
-
-
- // fSaveRsrvAcpt("C");
- fSaveRsrvAcptPro("C");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn4_letter7" visibility="hidden" style="left:568px; top:4px; width:116px; height:22px; ">
- <caption>가예약일괄취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelAllTempRsrv();
- ]]>
- </script>
- </button>
- <button id="button12" class="btn4_letter5" visibility="hidden" style="left:688px; top:4px; width:92px; height:22px; ">
- <caption>가예약취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelTempRsrv();
- ]]>
- </script>
- </button>
- <button id="btn_rsrvcncl" class="btn4_letter4" visibility="visible" style="left:839px; top:4px; width:80px; height:22px; ">
- <caption>예약취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/info/patinfo/item/hngnm") == "") {
- model.setValue("/root/main/info/patinfo/item/hngnm", model.getValue("/root/main/info/patinfo/item/engnm"));
- }
- // fSaveRsrvAcpt("D");
- fSaveRsrvAcptPro("D");
- ]]>
- </script>
- </button>
- <select1 id="cmb_apntprint" ref="/root/send/srchapntprint" appearance="minimal" style="left:220px; top:5px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/apntprintlst/R003">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button3" class="btn6_letter2" style="left:352px; top:4px; width:104px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var apntPrint = model.getValue("/root/send/srchapntprint");
- if(apntPrint != "") {
- exeReportPreview(apntPrint, "XMLSTR", "", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
- }
- ]]>
- </script>
- </button>
- <button id="btn_prntseq" class="btn6_letter5" style="left:415px; top:3px; width:92px; height:22px; ">
- <caption>순서표출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrntSeq();
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:13px; width:1200px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" class="search_name" style="left:571px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </button>
- <line id="line7" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchpid" ref="/root/send/srchpid2" class="input_search" style="left:660px; top:8px; width:170px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
- <button id="button11" class="icon_search" style="left:835px; top:10px; width:16px; height:16px; ">
- <caption/>
- </button>
- <output id="output7" ref="/root/send/srchpnm2" class="output_fix" style="left:855px; top:8px; width:235px; height:19px; "/>
- <caption id="caption20" class="search_name" style="left:331px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:420px; top:8px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
- ]]>
- </script>
- </select1>
- <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
- <caption id="caption34" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- </group>
- <caption id="caption22" class="cell_1" visibility="hidden" style="left:1021px; top:705px; width:50px; height:23px; vertical-align:middle; ">합계</caption>
- <output id="opt_totamt" ref="/root/main/info/rcptinfo/totamt" class="output_fix" visibility="hidden" format="#,###" style="left:1074px; top:707px; width:115px; height:19px; text-align:right; "/>
- <output id="output15" ref="/root/main/list/listinfo/rcptcnt" class="output_fix" visibility="hidden" style="left:38px; top:718px; width:65px; height:19px; text-align:right; "/>
- <caption id="caption60" class="cell_1" visibility="visible" style="left:106px; top:716px; width:35px; height:23px; vertical-align:middle; ">예약</caption>
- <line id="line28" class="line_2" style="x1:0px; y1:714px; x2:305px; y2:714px; "/>
- <caption id="caption61" class="cell_1" style="left:0px; top:716px; width:35px; height:23px; vertical-align:middle; ">접수</caption>
- <caption id="caption62" class="cell_1" style="left:212px; top:716px; width:35px; height:23px; vertical-align:middle; ">취소</caption>
- <caption id="caption63" class="cell_1" visibility="hidden" style="left:106px; top:693px; width:35px; height:23px; vertical-align:middle; ">보류</caption>
- <output id="output17" ref="/root/main/list/listinfo/rsrvcnt" class="output_fix" visibility="visible" style="left:144px; top:718px; width:65px; height:19px; text-align:right; "/>
- <caption id="caption64" class="cell_1" visibility="hidden" style="left:0px; top:693px; width:35px; height:23px; vertical-align:middle; ">수납</caption>
- <output id="output19" ref="/root/main/list/listinfo/cnclcnt" class="output_fix" style="left:250px; top:718px; width:55px; height:19px; text-align:right; "/>
- <output id="output20" ref="/root/main/list/listinfo/holdcnt" class="output_fix" visibility="hidden" style="left:144px; top:695px; width:65px; height:19px; "/>
- <output id="output21" ref="/root/main/list/listinfo/acptcnt" class="output_fix" style="left:38px; top:718px; width:55px; height:19px; text-align:right; "/>
- <output id="output22" ref="/root/main/list/listinfo/outcnt" class="output_fix" visibility="hidden" style="left:250px; top:695px; width:55px; height:19px; "/>
- <caption id="caption65" class="cell_1" visibility="hidden" style="left:212px; top:693px; width:35px; height:23px; vertical-align:middle; ">부도</caption>
- <button id="btn_grdsize" class="btn2_letter3" visibility="visible" style="left:245px; top:50px; width:53px; height:19px; ">
- <caption>펼치기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( btn_grdsize.attribute("text") == "펼치기"){
- group5.visible=false;
- btn_grdsize.attribute("text") = "줄이기";
- swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width")) + parseInt(group5.attribute("width") );
- grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) + parseInt(group5.attribute("width")) ;
- grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(group5.attribute("width")) ;
- grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) + parseInt(group5.attribute("width")) ;
- }
- else {
- btn_grdsize.attribute("text") ="펼치기";
- swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width")) - parseInt(group5.attribute("width") );
- grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) - parseInt(group5.attribute("width") );
- grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) - parseInt(group5.attribute("width") ) ;
- grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) - parseInt(group5.attribute("width") );
- group5.visible=true;
- }
- ]]>
- </script>
- </button>
- <group id="group3" style="left:2px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:521px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
- <button id="button6" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </button>
- <line id="line4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="srch_pid" ref="/root/send/srchpid2" class="input_search" style="left:615px; top:8px; width:100px; height:19px; "/>
- <caption id="caption10" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
- <button id="button7" class="icon_search" style="left:720px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00600", "rgstno", srch_pid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
- ]]>
- </script>
- </button>
- <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:740px; top:8px; width:140px; height:19px; "/>
- <caption id="caption13" class="search_name" style="left:321px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
- <select1 id="combo1" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:410px; top:8px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
- ]]>
- </script>
- </select1>
- <input id="input2" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
- <input id="input3" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
- <caption id="caption14" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- </group>
- <group id="group5" style="left:305px; top:50px; width:893px; height:590px; ">
- <button id="btn_searchzipcd" class="icon_search" style="left:348px; top:142px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // ahafSetAddr(1, "/root/main/info/patinfo/item");
- ahafSetAddr(1, "/root/main/info/patinfo/item", "combination");
- ]]>
- </script>
- </button>
- <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" navindex="9" imemode="hangul" style="left:370px; top:142px; width:175px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- var srcNode = ahafSetAddr(1, "/root/main/info/patinfo/item" , "combination", opt_addr.currentText );
- opt_addr.value = model.getValue(srcNode + "/addr") ;
- }
- fMoveFocus("ipt_detladdr");
- ]]>
- </script>
- </input>
- <caption id="caption93" class="search_n_b" style="left:274px; top:87px; width:12px; height:17px; font-weight:bolder; text-align:center; ">-</caption>
- <output id="opt_sex" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:785px; top:87px; width:36px; height:19px; "/>
- <caption id="cap_rsrvtm" class="cell_1" visibility="visible" style="left:631px; top:27px; width:56px; height:23px; vertical-align:middle; ">예약시간</caption>
- <line id="line10" class="line_1" style="x1:10px; y1:23px; x2:875px; y2:23px; "/>
- <caption id="caption52" class="tit_2" style="left:9px; top:65px; width:144px; height:13px; ">건진자 정보</caption>
- <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_essential" imemode="alpha" maxlength="10" style="left:616px; top:87px; width:100px; height:24px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- fInitRsrvAcptInfo();
- fGetPatInfo(2);
- fGetDetlInfoHid();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rsrvtm" ref="/root/main/info/rsrvacptinfo/item/rsrvtm" class="input_default" disabled="true" visibility="visible" format="hh:nn" style="left:689px; top:28px; width:97px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_pnm");
- ]]>
- </script>
- </input>
- <caption id="caption53" class="cell_1" style="left:150px; top:86px; width:63px; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption32" class="tit_2" style="left:15px; top:7px; width:144px; height:13px; ">예약/접수정보</caption>
- <input id="opt_zipcd1" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:215px; top:142px; width:60px; height:19px; "/>
- <caption id="caption1" class="search_n_b" style="left:274px; top:142px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <caption id="caption33" class="cell_1" style="left:160px; top:28px; width:59px; height:23px; vertical-align:middle; ">접수일자</caption>
- <line id="line14" class="line_3" style="x1:10px; y1:52px; x2:875px; y2:52px; "/>
- <line id="line25" class="line_1" style="x1:9px; y1:81px; x2:874px; y2:81px; "/>
- <caption id="caption55" class="cell_1" style="left:150px; top:140px; width:63px; height:25px; vertical-align:middle; ">주소</caption>
- <input id="opt_zipcd2" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:285px; top:142px; width:60px; height:19px; "/>
- <input id="ipt_detladdr" ref="/root/main/info/patinfo/item/detladdr1" class="input_default" navindex="10" imemode="hangul" maxlength="100" style="left:550px; top:142px; width:320px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_patremcnts");
- ]]>
- </script>
- </input>
- <caption id="caption11" class="cell_1" style="left:370px; top:86px; width:63px; height:23px; vertical-align:middle; ">성명(한)</caption>
- <line id="line15" class="line_3" style="x1:150px; y1:193px; x2:875px; y2:193px; "/>
- <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="input_essential" navindex="1" format="999999" style="left:215px; top:87px; width:60px; height:19px; "/>
- <caption id="caption46" class="cell_1" style="left:550px; top:113px; width:63px; height:23px; vertical-align:middle; ">소속기관</caption>
- <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="input_essential" navindex="2" format="9999999" style="left:285px; top:87px; width:60px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( (getStringLength(ipt_rgstno2.currentText) > 6) && (getStringLength(ipt_rgstno1.currentText) > 5) ){
- fInitRsrvAcptInfo();
- //주민번호로 환자 검색
- fSetBrthDD();
- // 외국인 체크
- if(check_fgnno(ipt_rgstno1.currentText + ipt_rgstno2.currentText) ) {
- model.setValue("/root/main/info/patinfo/item/forgneryn" , "Y");
- }else {
- model.setValue("/root/main/info/patinfo/item/forgneryn" , "N");
- }
-
- if(fGetPatInfo(1) != false)
- {
- model.setFocus("ipt_pnm");
- };
- fGetDetlInfoHid();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- //fGetPatInfo(1);
- //model.setFocus("ipt_pid");
- //주민번호로 환자 검색 like~
- fInitRsrvAcptInfo();
- if( getStringLength(ipt_rgstno2.currentText) < 7 ){
- fSearchPatInfo("SMAHA00100", "rgstno","", "Y", "/root/main/info/patinfo/item", "", "", ipt_rgstno1.currentText , ipt_rgstno2.currentText);
- }
- else {
- if( getStringLength(ipt_rgstno2.currentText) > 6) fGetPatInfo(1);
- }
- fGetDetlInfoHid();
- model.setFocus("ipt_mpphon");
- }
- ]]>
- </script>
- </input>
- <caption id="caption4" class="cell_1" visibility="visible" style="left:473px; top:27px; width:59px; height:23px; vertical-align:middle; ">예약일자</caption>
- <input id="ipt_orddd" ref="/root/main/info/rsrvacptinfo/item/orddd" class="input_essential" disabled="true" inputtype="date" style="left:221px; top:29px; width:98px; height:19px; "/>
- <caption id="caption69" class="cell_1" style="left:550px; top:86px; width:63px; height:23px; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="input_essential" visibility="hidden" inputtype="date" style="left:580px; top:0px; width:108px; height:19px; "/>
- <input id="ipt_rsrvdd" ref="/root/main/info/rsrvacptinfo/item/hopedd" class="input_essential" visibility="visible" inputtype="date" style="left:534px; top:28px; width:93px; height:19px; "/>
- <button id="btn_selpnm" class="icon_search" style="left:348px; top:87px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00600", "pnm", ipt_pnm.currentText , "Y", "/root/main/info/patinfo/item");
- fGetDetlInfoHid();
- model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/rsrvacptinfo/item/choiflag"));
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption39" class="cell_1" style="left:10px; top:28px; width:63px; height:23px; vertical-align:middle; ">검진구분</caption>
- <select1 id="cmb_healexamdetlflag" ref="/root/main/info/rsrvacptinfo/item/healexamdetlflag" class="combo_default" disabled="true" appearance="minimal" style="left:75px; top:29px; width:82px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_age" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:824px; top:87px; width:46px; height:19px; "/>
- <button id="btn_totrsrvdt" class="btn2_letter6" disabled="false" visibility="visible" style="left:789px; top:28px; width:86px; height:19px; ">
- <caption>예약시간선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRsrvDateTime("T", ipt_rsrvdd , ipt_rsrvtm);
- ]]>
- </script>
- </button>
- <button id="btn_savepatinfo" class="btn5_letter6" style="left:787px; top:60px; width:86px; height:19px; ">
- <caption>인적사항저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 채용건진 일경우 소속기관,소속부서 인적 사항 저장시 수정
- model.makeValue("/root/main/info/patinfo/item/rsrvdd" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd") );
- model.makeValue("/root/main/info/patinfo/item/rsrvno" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") );
- model.makeValue("/root/main/info/patinfo/item/clntcmpynm" , model.getValue("/root/main/info/rsrvacptinfo/item/clntcmpynm"));
- model.makeValue("/root/main/info/patinfo/item/clntdeptnm" , model.getValue("/root/main/info/rsrvacptinfo/item/clntdeptnm"));
- //인적사항을 인서트 한다.
- fSavePatInfo("N");
- fnSetImage();
- fGetList();
- ]]>
- </script>
- </button>
- <datagrid id="grd_pkglst" nodeset="/root/main/info/rsrvacptinfo/pkglst" visibility="hidden" caption="선택^검사구분^검사코드^검사명^청구방법^가격" colsep="^" colwidth="33, 50, 100, 293, 160, 143" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:220px; top:350px; width:270px; height:65px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="pkgflag" visibility="hidden"/>
- <col ref="pkgcd" type="inputbutton"/>
- <col ref="testnm"/>
- <col ref="uncocd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="manamt" visibility="visible"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if( grd_addlst.col == 3 ){
- fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption91" class="cell_1" style="left:720px; top:86px; width:63px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" class="input_default" navindex="4" imemode="hangul" maxlength="50" style="left:435px; top:87px; width:108px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_engnm");
- ]]>
- </script>
- </input>
- <button id="button10" class="btn5_letter6" visibility="hidden" style="left:345px; top:60px; width:86px; height:19px; ">
- <caption>인적사항수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //인적사항을 업데이트 한다.
- fSavePatInfo("N");
- ]]>
- </script>
- </button>
- <caption id="caption25" class="tit_2" style="left:9px; top:210px; width:156px; height:13px; ">건진 정보 - 선택패키지</caption>
- <output id="out_engnm" ref="/root/main/info/patinfo/item/engnm" appearance="output" style="left:105px; top:60px; width:295px; height:19px; "/>
- <input id="ipt_mpphon" ref="/root/main/info/patinfo/item/mpphon" class="input_default" navindex="8" imemode="alpha" maxlength="30" style="left:215px; top:115px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("opt_addr");
- ]]>
- </script>
- </input>
- <input id="ipt_telno" ref="/root/main/info/patinfo/item/telno" class="input_default" navindex="7" imemode="alpha" maxlength="30" style="left:435px; top:115px; width:108px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_mpphon");
- ]]>
- </script>
- </input>
- <caption id="caption45" class="cell_1" style="left:150px; top:113px; width:63px; height:23px; vertical-align:middle; ">휴대폰</caption>
- <caption id="caption49" class="cell_1" style="left:370px; top:113px; width:63px; height:23px; vertical-align:middle; ">연락처</caption>
- <caption id="caption2" class="tit_2" style="left:500px; top:515px; width:144px; height:13px; ">할인정보</caption>
- <line id="line1" class="line_1" style="x1:10px; y1:530px; x2:495px; y2:530px; "/>
- <select1 id="cmb_place" ref="/root/main/info/rsrvacptinfo/item/healexamplacecd" class="combo_essential" disabled="true" visibility="visible" appearance="minimal" style="left:384px; top:29px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption21" class="cell_1" visibility="visible" style="left:323px; top:27px; width:59px; height:23px; vertical-align:middle; ">건진장소</caption>
- <select1 id="rdo_healexamplacecd" ref="/root/init/place/healexamplacecd" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:710px; top:3px; width:165px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
- var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- if(statFlag < 'C') {
- model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", rdo_healexamplacecd.value);
- }else {
- model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", healexamplacecd == "" ? rdo_healexamplacecd.value:healexamplacecd);
- }
- cmb_place.refresh();
-
- ]]>
- </script>
- </select1>
- <line id="line2" class="line_2" style="x1:150px; y1:109px; x2:875px; y2:109px; "/>
- <line id="line6" class="line_2" style="x1:150px; y1:137px; x2:875px; y2:137px; "/>
- <select1 id="cmb_disccdlst" ref="/root/main/info/rsrvacptinfo/item/disccd" class="combo_default" navindex="32" appearance="minimal" style="left:645px; top:535px; width:230px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/disccdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var chkdisccd = model.getValue("/root/main/info/rsrvacptinfo/item/disccd");
- if(chkdisccd !="" ){
- model.makeValue("/root/main/info/rsrvacptinfo/item/dcamt" , model.getValue("/root/init/baseinfo/pamcdlst/disccdlst[cd='"+ chkdisccd+ "']/dcamt"));
- model.makeValue("/root/main/info/rsrvacptinfo/item/adddcamt" , model.getValue("/root/init/baseinfo/pamcdlst/disccdlst[cd='"+ chkdisccd+ "']/adddcamt"));
- }
- fSetAddAmt();
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/main/info/patinfo/item/addr2" class="output_fix" navindex="9" imemode="hangul" style="left:370px; top:172px; width:175px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
- var srcNode = ahafSetAddr(1, "/root/main/info/patinfo/item" , "combination", opt_addr.currentText );
- opt_addr.value = model.getValue(srcNode + "/addr") ;
- }
- fMoveFocus("ipt_detladdr");
- ]]>
- </script>
- </input>
- <button id="button5" class="icon_search" style="left:348px; top:172px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // ahafSetAddr(1, "/root/main/info/patinfo/item");
- ahafSetAddr(2, "/root/main/info/patinfo/item", "combination");
- ]]>
- </script>
- </button>
- <input id="input4" ref="/root/main/info/patinfo/item/zipcd21" class="output_fix" format="999" style="left:215px; top:172px; width:60px; height:19px; "/>
- <input id="input5" ref="/root/main/info/patinfo/item/detladdr2" class="input_default" navindex="10" imemode="hangul" maxlength="100" style="left:550px; top:172px; width:320px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_patremcnts");
- ]]>
- </script>
- </input>
- <input id="input6" ref="/root/main/info/patinfo/item/zipcd22" class="output_fix" format="999" style="left:285px; top:172px; width:60px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:150px; top:168px; width:63px; height:25px; vertical-align:middle; ">발송주소</caption>
- <caption id="caption12" class="search_n_b" style="left:274px; top:172px; width:12px; height:17px; font-weight:bolder; ">-</caption>
- <caption id="caption92" class="cell_1" style="left:10px; top:256px; width:83px; height:23px; vertical-align:middle; ">최근건진내역</caption>
- <line id="line43" class="line_2" style="x1:10px; y1:253px; x2:498px; y2:253px; "/>
- <line id="line44" class="line_1" style="x1:9px; y1:225px; x2:497px; y2:225px; "/>
- <input id="ipt_pkgcd" ref="/root/main/info/rsrvacptinfo/item/pkgcd" class="input_essential" maxlength="12" style="left:95px; top:232px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selpkg", "DOMActivate");
- ]]>
- </script>
- </input>
- <datagrid id="grd_addlst" nodeset="/root/main/info/rsrvacptinfo/addlst" caption="선택^검사구분^검사코드^검사명^청구방법^가격^횟수^할인액^검사일련번호^수가코드^처방번호^처방일자^처방구분^묶음검사구분^addtotamt" colsep="^" colwidth="33, 62, 100, 293, 93, 138, 95, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:9px; top:285px; width:488px; height:155px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="testflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/testflag/A0117">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="testcd" type="inputbutton"/>
- <col ref="testnm"/>
- <col ref="uncocd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="scoreamt" visibility="visible" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="prcptims" type="input"/>
- <col ref="discamt" visibility="hidden" format="(-,+)#,###"/>
- <col ref="examseq"/>
- <col ref="calcscorcd"/>
- <col ref="prcpno"/>
- <col ref="prcpdd"/>
- <col ref="m"/>
- <col ref="grupflag"/>
- <col ref="addtotamt" visibility="hidden"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if( (grd_addlst.col == 3 ) && (event.keyCode == 13 )) {
- fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAddAmt();
- ]]>
- </script>
- </datagrid>
- <button id="btn_selpkg" class="icon_search" style="left:183px; top:232px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNode( "/root/temp2/addlst" );
- model.removeNode( "/root/temp/templst/list" );
- model.makeNode("/root/temp2/addlst");
-
- model.removeNodeSet(grd_addlst.nodeset);
-
- var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- var old_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
- var old_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
- var old_conhistseq = model.getValue("/root/main/info/rsrvacptinfo/item/conhistseq");
- //var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- //fGetPkgCd("SMAHA00600", "P", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item","","pkg",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2") ), cmb_brthareacnts.value);
- //fGetPkgCd("SMAHA00100", "C", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item" ,"","pkg",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2")) , "",model.getValue("/root/main/info/patinfo/item/forgneryn"));
-
- //채용건진 외국인구분, 성별 구분 필요없음
- fGetPkgCd("SMAHA04020", "P", "N","cd" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item" ,"","pkg",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2")) , "",model.getValue("/root/main/info/patinfo/item/forgneryn"));
-
- model.setValue("/root/main/info/rcptinfo/pkgamt" , model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"));
- var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
- //alert(count_a);
- var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
- count_a = count_a == "" ? 0 : count_a;
- count_b = count_b == "" ? 0 : count_b;
- model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
- var cur_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- var cur_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
- var cur_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
- var cur_conhistseq = model.getValue("/root/main/info/rsrvacptinfo/item/conhistseq");
- //같은 패키지 이거나 같은 계약정보일경우 return
-
- if( (cur_cmpycd != "") && (cur_conseq != "") && (cur_conhistseq != "") ) {
- model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag", "Y");
- model.makeValue("/root/main/info/rsrvacptinfo/item/rsrvflag", "02");
- model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd", "V02");
-
- }else{
- model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag", "N");
- model.makeValue("/root/main/info/rsrvacptinfo/item/rsrvflag", "01");
- model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd", "V01");
- }
- var acpt_remcnts = model.getValue("/root/main/info/rsrvacptinfo/item/pkgremcnts") ;
- model.setValue( tar_remcnts.attribute("ref") , acpt_remcnts);
-
- var cur_pkgnm = opt_pkgnm.value;
-
- // 패키지 추가검사 조회
- fGetConAddList(cur_pkgcd, cur_pkgnm, opt_sex.value, cur_cmpycd, cur_conseq , cur_conhistseq);
- if(old_pkgcd != "" && old_pkgcd != cur_pkgcd || old_cmpycd != old_cmpycd && old_conseq != cur_conseq && old_conhistseq != cur_conhistseq){
- fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y","", model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
- }
-
-
- fDcAmtCalc();
-
- // 패키지 상세내역 조회
- var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- ahafGetPkgDetlList(PkgCd);
-
- // 건진이력조회
- var pid = model.getValue("/root/main/info/patinfo/item/pid");
- if (pid != "") {
- ahafGetHistList(pid);
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn2_letter4" style="left:430px; top:205px; width:64px; height:19px; ">
- <caption>추가검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //남녀구분제외
- //fGetPkgCd("SMAHA04020", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
- fGetPkgCd("SMAHA04020", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
- fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y","", model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
- // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt , opt_addamt );
- var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
- var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
- count_a = count_a == "" ? 0 : count_a;
- count_b = count_b == "" ? 0 : count_b;
- model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
- fSetAddAmt();
- ]]>
- </script>
- </button>
- <output id="opt_latestpkginfo" ref="/root/main/info/rsrvacptinfo/item/latestpkginfo" class="output_fix" style="left:95px; top:258px; width:400px; height:19px; "/>
- <button id="btn_ordmgt" class="btn2_letter4" visibility="visible" style="left:360px; top:205px; width:64px; height:19px; ">
- <caption>처방관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter ("SMAHA00700_PARAM1" , model.getValue( cmb_healexamdetlflag.attribute("ref")) );
- setParameter ("SMAHA00700_PARAM2" , model.getValue( ipt_pid.attribute("ref")) );
- modal("SMAHA04050");
- ]]>
- </script>
- </button>
- <output id="opt_pkgnm" ref="/root/main/info/rsrvacptinfo/item/pkgnm" class="output_fix" style="left:205px; top:232px; width:290px; height:19px; "/>
- <caption id="cap_pkgcd" class="cell_1" style="left:10px; top:230px; width:83px; height:23px; vertical-align:middle; ">패키지</caption>
- <line id="line8" class="line_3" style="x1:10px; y1:280px; x2:498px; y2:280px; "/>
- <line id="line9" class="line_1" style="x1:9px; y1:280px; x2:497px; y2:280px; "/>
- <datagrid id="grd_pkgdetl" nodeset="/root/main/info/pkgdetl/item" caption="검진코드^검진구분^검사분류^검사명^참고치^패키지분류^최종수정자^최종수정일시" colsep="^" colwidth="35, 110, 135, 193, 162, 100" mergecells="byrowrec" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" style="left:505px; top:230px; width:370px; height:140px; ">
- <col disabled="false" ref="pkgcd" visibility="hidden"/>
- <col ref="cdnm"/>
- <col ref="spcnm"/>
- <col ref="testnm"/>
- <col ref="stndval"/>
- <col disabled="true" ref="padd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ]]>
- </script>
- </datagrid>
- <line id="line11" class="line_1" style="x1:505px; y1:225px; x2:875px; y2:225px; "/>
- <caption id="caption15" class="tit_2" style="left:505px; top:210px; width:156px; height:13px; ">건진 정보 - 패키지상세</caption>
- <datagrid id="grd_hist" nodeset="/root/main/info/histlst/item" caption="신검일자^패키지코드^패키지명^특이사항" colsep="^" colwidth="78, 99, 261,100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:505px; top:395px; width:370px; height:105px; ">
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="remcnts"/>
- </datagrid>
- <line id="line12" class="line_1" style="x1:505px; y1:390px; x2:875px; y2:390px; "/>
- <caption id="caption17" class="tit_2" style="left:505px; top:375px; width:156px; height:13px; ">건진 정보 - 건진이력</caption>
- <textarea id="tar_remcnts" ref="/root/main/info/rsrvacptinfo/item/remcnts" maxlength="500" style="left:95px; top:535px; width:400px; height:50px; "/>
- <caption id="caption23" class="cell_1" style="left:10px; top:535px; width:83px; height:50px; vertical-align:middle; ">전달사항</caption>
- <button id="button9" class="btn5_letter6" style="left:410px; top:510px; width:86px; height:19px; ">
- <caption>전달사항저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") == "")
- {
- messageBox("예약(접수)이후에만 특이사항을 별도로 저장하실수 있습니다.", "I");
- return false;
- }
- model.makeNode("/root/sendcmts");
- model.makeNode("/root/sendcmts/healexamdetlflag");
- model.makeNode("/root/sendcmts/rsrvdd");
- model.makeNode("/root/sendcmts/rsrvno");
- model.makeNode("/root/sendcmts/cmts");
-
- model.setValue("/root/sendcmts/healexamdetlflag", model.getValue("/root/send/srchhealexamdetlflag"));
- model.setValue("/root/sendcmts/rsrvdd", model.getValue("/root/send/srchrsrvdd"));
- model.setValue("/root/sendcmts/rsrvno", model.getValue("/root/send/srchrsrvno"));
- model.setValue("/root/sendcmts/cmts", model.getValue("/root/main/info/rsrvacptinfo/item/remcnts"));
- submit("TXAHA04029");
- ]]>
- </script>
- </button>
- <img id="img_visaphot" ref="/root/image/attachfile/image" style="left:10px; top:87px; width:130px; height:108px; background-stretch:stretch; border-color:#000000; border-style:solid; cursor:hand; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(img_visaphot.currentStyle.width == 640)
- {
- img_visaphot.attribute("width") = 135;
- img_visaphot.attribute("height") = 100;
- }
- else
- {
- img_visaphot.attribute("width") = 640;
- img_visaphot.attribute("height") = 480;
- }
- ]]>
- </script>
- </img>
- <caption id="caption8" class="cell_1" style="left:500px; top:535px; width:140px; height:23px; vertical-align:middle; ">할인계정</caption>
- <caption id="caption28" class="cell_1" style="left:500px; top:560px; width:140px; height:23px; vertical-align:middle; ">패키지/추가검사 할인율</caption>
- <output id="dcamt" ref="/root/main/info/rsrvacptinfo/item/dcamt" class="output_fix" style="left:645px; top:562px; width:53px; height:19px; text-align:center; "/>
- <output id="adddcamt" ref="/root/main/info/rsrvacptinfo/item/adddcamt" class="output_fix" style="left:715px; top:562px; width:50px; height:19px; text-align:center; "/>
- <caption id="caption29" style="left:700px; top:562px; width:15px; height:20px; ">/</caption>
- <line id="line3" class="line_2" style="x1:150px; y1:165px; x2:875px; y2:165px; "/>
- <button id="btn_addfile" class="btn2_letter4" style="left:720px; top:60px; width:64px; height:19px; ">
- <caption>사진등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var maxsize = upload1.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- // alert(files + files.split("|"));
-
- model.setValue("/root/send/attach/file", files);
- //alert(files);
- if (!checkFileSize(upload1)){
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_1" style="x1:500px; y1:530px; x2:875px; y2:530px; "/>
- <caption id="caption18" class="tit_2" style="left:14px; top:515px; width:144px; height:13px; ">추가정보</caption>
- <input id="ipt_clntcmpynm" ref="/root/main/info/rsrvacptinfo/item/clntcmpynm" class="input_default" imemode="hangul" style="left:616px; top:115px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_clntdeptnm");
- ]]>
- </script>
- </input>
- <caption id="caption27" class="cell_1" style="left:720px; top:113px; width:63px; height:23px; vertical-align:middle; ">소속부서</caption>
- <input id="ipt_clntdeptnm" ref="/root/main/info/rsrvacptinfo/item/clntdeptnm" class="input_default" imemode="hangul" style="left:785px; top:115px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("opt_addr");
- ]]>
- </script>
- </input>
- <input id="ipt_tagno" ref="/root/main/info/taginfo/tagno" class="input_default" format="999" style="left:585px; top:60px; width:61px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/srchtagno",model.getValue("/root/main/info/taginfo/tagno"));
- model.setValue("/root/send/srchhealexamplacecd" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd"));
- //var ret = submit("TRAHA00114",false); 2008-06-12 이성인
- var ret = submit("TRAHA00114",false);
- if(ret) {
- var tagstat = model.getValue("/root/tag/taginfo/tagstat");
- if(tagstat == "0") {
- var tagno = model.getValue("/root/main/info/taginfo/tagno");
- var vb = messageBox("["+ tagno +"]태그는 이미 지급된 태급입니다.\n 반납" , "S001" );
- if(6 == vb ) {
- model.makeValue("/root/send/taginfo/tagflag" ,"R");
- model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno"));
- model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/taginfo/healexamplacecd" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd"));
- // if(submit("TXAHA00109",false)) { 2008-06-12 이성인
- if(submit("TXAHA00109",false)) {
- btn_tag.attribute("text") = "태그지급";
- ipt_tagno.value = "";
- }
- }else if(7 == vb || 2 == vb) {
- ipt_tagno.value = "";
- model.setFocus("ipt_tagno");
- }
- }
- }
- ipt_tagno.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
-
- }
- ]]>
- </script>
- </input>
- <caption id="caption31" class="cell_1" style="left:525px; top:60px; width:55px; height:19px; vertical-align:middle; ">태그번호</caption>
- <button id="btn_tag" class="btn2_letter4" style="left:650px; top:60px; width:64px; height:19px; ">
- <caption>태그지급</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var suppStat = model.getValue("/root/tag/taginfo/tagstat");
- var tagno = model.getValue("/root/main/info/taginfo/tagno");
- var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
-
- if(suppStat == "") {
- suppStat = model.getValue("/root/main/info/taginfo/suppstat");
- }
-
- if("0" == suppStat) {
- if(6 == messageBox("[" + tagno + "]태그 반납을", "Q004")) {
- model.makeValue("/root/send/taginfo/tagflag" ,"R");
- model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno") );
- model.makeValue("/root/send/taginfo/healexamplacecd" ,model.getValue("/root/main/info/taginfo/healexamplacecd") );
- model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("dutplceinstcd") );
- if(submit("TXAHA00109")) {
- btn_tag.attribute("text") = "태그지급";
- ipt_tagno.value = "";
- ipt_tagno.disabled = false;
- }
- }
- }else {
- if(statFlag < "E") {
- messageBox("접수 전에 태그를 지급", "E001");
- return;
- }
- if(tagno == "") {
- messageBox("태그번호를","C001");
- return;
- }
- if(messageBox("["+tagno+"]태그 지급을","Q004")) {
- model.makeValue("/root/send/taginfo/tagflag" ,"P");
- model.makeValue("/root/send/taginfo/rsrvdd" ,model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd"));
- model.makeValue("/root/send/taginfo/rsrvno" ,model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno"));
- model.makeValue("/root/send/taginfo/pid" ,model.getValue("/root/main/info/rsrvacptinfo/item/pid"));
- model.makeValue("/root/send/taginfo/orddd" ,model.getValue("/root/main/info/rsrvacptinfo/item/orddd"));
- model.makeValue("/root/send/taginfo/healexamdetlflag" ,model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
- model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno"));
- model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("posinstcd") );
- if(submit("TXAHA00109")) {
- btn_tag.attribute("text") = "태그반납";
- ipt_tagno.disabled = true;
- }
- }
- }
- ipt_tagno.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption35" class="tit_2" style="left:9px; top:450px; width:156px; height:13px; ">상담예약일정</caption>
- <line id="line16" class="line_1" style="x1:10px; y1:465px; x2:495px; y2:465px; "/>
- <caption id="cap_rsltcnstflag" class="cell_1" style="left:10px; top:470px; width:58px; height:23px; vertical-align:middle; ">결과상담</caption>
- <select1 id="cmb_rsltcnstlst" ref="/root/main/info/rsltcnstinfo/choicnst/rsltrsrvid" appearance="minimal" style="left:240px; top:472px; width:255px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/info/rsltcnstinfo/cnstlst/cnst">
- <label ref="rsltrsrvnm"/>
- <value ref="rsltrsrvid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var idx = cmb_rsltcnstlst.focusIndex;
- copyNodesetType("/root/main/info/rsltcnstinfo/choicnst" , "/root/main/info/rsltcnstinfo/cnstlst/cnst[" + (idx + 1) + "]" , "replace");
- var rsltRsrvId = model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltrsrvid");
-
- // 기존 내역을 선택 했을경우에는 조회만 가능
- if(rsltRsrvId == "-" || rsltRsrvId == "") {
- cmb_rsltcnstflag.disabled = false;
- btn_rsltcnstrsrv.disabled = false;
- btn_rsltcnstrsrvcncl.disabled = true;
- }else {
- cmb_rsltcnstflag.disabled = true;
- btn_rsltcnstrsrv.disabled = true;
- btn_rsltcnstrsrvcncl.disabled = false;
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_rsltcnstflag" ref="/root/main/info/rsltcnstinfo/choicnst/rsltcnstflag" class="combo_essential" appearance="minimal" style="left:71px; top:472px; width:69px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsltcnstflaglst/S080">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- * 최초이력:2009-03-13
- * 내부검사 선택 시에만 활성화 되며 내부상담 시 1회로 제한다.
- * 결과상담 구분은 우편을 제외 한 모둔 구분은 상담 시간을 잡는다.
- * 건진 공통코드의 cmt의 상태가 Y 일경우 상담예약 팝업을 띄우면 N경우 화면은 띄우지 않으며 상담예약 버튼은 비활성 시킨다.
- */
- /*
- var nodeList = instance1.selectNodes("/root/init/baseinfo/rsltcnstflaglst/S080");
- var idx = cmb_rsltcnstflag.focusIndex;
- // 공통코드의 비고
- var cmt = nodeList.item(idx).cmt.text;
-
- if(cmt == "Y") {
- btn_rsltcnstrsrv.disabled = false;
- }else if (cmt == "N") {
- btn_rsltcnstrsrv.disabled = true;
- }*/
- ]]>
- </script>
- </select1>
- <caption id="caption57" class="cell_1" style="left:145px; top:470px; width:92px; height:23px; vertical-align:middle; ">결과상담예약일</caption>
- <button id="btn_rsltcnstrsrvcncl" class="btn2_letter4" style="left:345px; top:445px; width:64px; height:19px; ">
- <caption>상담취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRsltRsrvDateTime("d");
- cmb_rsltcnstlst.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_rsltcnstrsrv" class="btn2_letter4" style="left:280px; top:445px; width:64px; height:19px; ">
- <caption>상담예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRsltRsrvDateTime("i");
- cmb_rsltcnstlst.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_saversrvinfo" class="btn5_letter6" style="left:410px; top:445px; width:86px; height:19px; ">
- <caption>예약정보저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveRsrvInfo();
- ]]>
- </script>
- </button>
- </group>
- <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="5242880" validate="true" ref="/root/send/visaphotpath/attach/file" style="left:200px; top:175px; width:100px; height:20px; "/>
- <output id="output4" ref="/root/main/info/rcptinfo/cmpyaddamt" class="output_fix" format="#,###" style="left:490px; top:690px; width:86px; height:19px; text-align:right; "/>
- <line id="line52" class="line_3" style="x1:313px; y1:737px; x2:1183px; y2:737px; "/>
- <caption id="cap_pkguncocd" class="cell_1" style="left:831px; top:664px; width:64px; height:23px; vertical-align:middle; ">
- <![CDATA[청구방법]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fPriceCheck();
- ]]>
- </script>
- </caption>
- <line id="line42" class="line_2" style="x1:313px; y1:712px; x2:898px; y2:712px; "/>
- <output id="opt_discamt" ref="/root/main/info/rcptinfo/discamt" class="output_fix" visibility="visible" format="#,###" style="left:647px; top:690px; width:181px; height:19px; text-align:right; "/>
- <caption id="caption84" class="cell_1" visibility="visible" style="left:831px; top:689px; width:64px; height:48px; vertical-align:middle; ">실수납액</caption>
- <output id="opt_realamt" ref="/root/main/info/rcptinfo/realamt" class="font_pid" visibility="visible" format="(-,+)#,###" style="left:897px; top:672px; width:291px; height:48px; text-align:right; vertical-align:bottom; "/>
- <caption id="caption76" class="cell_1" visibility="visible" style="left:580px; top:689px; width:64px; height:23px; vertical-align:middle; ">할인금액</caption>
- <line id="line46" class="line_2" style="x1:313px; y1:687px; x2:895px; y2:687px; "/>
- <caption id="caption54" class="cell_1" visibility="visible" style="left:313px; top:714px; width:79px; height:23px; vertical-align:middle; ">소계</caption>
- <output id="opt_preamt" ref="/root/main/info/rcptinfo/preamt" class="output_fix" visibility="visible" format="#,###" style="left:1082px; top:665px; width:101px; height:19px; font-weight:bold; text-align:right; "/>
- <select1 id="combo2" ref="/root/main/info/rsrvacptinfo/item/pkguncocd" class="combo_default" appearance="minimal" style="left:897px; top:664px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- var cnt = grd_addlst.rows ;
- var i = 0;
- var uncocd = "";
- for( i = 1; i < cnt ; i++){
- uncocd = grd_addlst.valueMatrix(i, 5);
- if( ( uncocd == "") || (uncocd == "-" ) ){
- //grd_addlst.valueMatrix(i, 5) = cmb_pkguncocd.value ;
- grd_addlst.valueMatrix(i, 5) =combo2.value ;
- }
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_ownbamt" ref="/root/main/info/rcptinfo/ownbamt" class="input_default" format="(-,+)#,###" style="left:647px; top:665px; width:181px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
-
- var tempamt = parseInt(model.getValue("/root/main/info/rcptinfo/tempamt")); // 부담금 + 미수금
-
- var ownbamt = parseInt(ipt_ownbamt.currentText.replace(/,/g,"")); // 부담금
- var uncoamt = tempamt - ownbamt;
-
-
- // 변경 미수금,부담금,변경여부
- model.makeValue("/root/temp/priceamt/priceamt/chngownbamt", ownbamt);
- model.makeValue("/root/main/info/rcptinfo/ownbamt", ownbamt);
- model.makeValue("/root/send/ownbamt", ownbamt);
- model.makeValue("/root/temp/priceamt/priceamt/chnguncoamt", uncoamt);
- model.makeValue("/root/temp/priceamt/priceamt/chngyn", "Y");
-
- fSetAddAmt();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var tempamt = parseInt(model.getValue("/root/main/info/rcptinfo/tempamt"));
-
- var uncoamt = parseInt(ipt_ownbamt.currentText.replace(/,/i,""));
-
- //alert("tempamt : " + tempamt + "uncoamt" + uncoamt);
- model.makeValue("/root/main/info/rcptinfo/uncoamt" , tempamt - uncoamt);
- opt_uncoamt.refresh();
- ]]>
- </script>
- </input>
- <line id="line26" class="line_1" style="x1:313px; y1:658px; x2:1183px; y2:658px; "/>
- <output id="opt_subtotamt" ref="/root/main/info/rcptinfo/subtotamt" class="output_fix" visibility="visible" format="#,###" style="left:395px; top:715px; width:181px; height:19px; text-align:right; "/>
- <caption id="caption24" class="cell_1" style="left:313px; top:689px; width:79px; height:23px; vertical-align:middle; ">추가검사금액</caption>
- <caption id="caption26" class="cell_1" style="left:580px; top:665px; width:64px; height:23px; vertical-align:middle; ">
- <![CDATA[부담액]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fPriceCheck();
- ]]>
- </script>
- </caption>
- <caption id="caption59" class="cell_1" visibility="visible" style="left:1015px; top:664px; width:64px; height:23px; vertical-align:middle; ">선수금</caption>
- <caption id="cap_rcpt" class="tit_2" style="left:313px; top:643px; width:79px; height:13px; ">수납내역</caption>
- <output id="output1" ref="/root/main/info/rcptinfo/psnaddamt" class="output_fix" format="#,###" style="left:395px; top:690px; width:91px; height:19px; text-align:right; "/>
- <caption id="caption19" class="cell_1" style="left:313px; top:664px; width:79px; height:23px; vertical-align:middle; ">패키지금액</caption>
- <output id="output3" ref="/root/main/info/rcptinfo/pkgamt" class="output_fix" format="#,###" style="left:395px; top:665px; width:181px; height:19px; text-align:right; "/>
- <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:60px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_acpt");
- //예약이 아닐시에 사용할수 없게 만듬
- ipt_rsrvtm.disabled=true;
- btn_totrsrvdt.disabled=true;
- fGetList();
- //btn_acpt.disabled = true;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_reex" class="btn_sw" visibility="hidden" group="tab" style="left:180px; top:49px; width:60px; height:22px; ">
- <caption>재검</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_reex");
- //예약시 컨트롤 사용가능하게
- ipt_rsrvtm.disabled=false;
- btn_totrsrvdt.disabled=false;
- fGetList();
- //btn_acpt.disabled = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn_sw" group="tab" style="left:60px; top:49px; width:60px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_cncl");
- //예약이 아닐 시에 사용할 수 없게 만듬
- ipt_rsrvtm.disabled=true;
- btn_totrsrvdt.disabled=true;
- fGetList();
- //btn_acpt.disabled = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <switch id="swt_acptlst" style="left:0px; top:70px; width:305px; height:640px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_acpt" selected="true">
- <datagrid id="grd_acptlst" nodeset="/root/main/list/acptlst" allowselection="true" caption="접수일자^등록번호^한글이름^코드^유형^주민번호^주민번호^나이^성별^나이/성별^수납상태^rsrvdd^rsrvno^statflag^acptflag^cmpynm^acptdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="71, 63, 85, 97, 188, 68, 74, 30, 30, 30, 59, 30, 30, 30, 30, 30, 30, 30, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="above" style="left:5px; top:6px; width:292px; height:624px; ">
- <col ref="hopedd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="pnm" style="left:236px; top:23px; width:100px; height:23px; "/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="rgstno1"/>
- <col ref="rgstno2" style="left:773px; top:23px; width:74px; height:23px; "/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="sexage" visibility="hidden"/>
- <col disabled="true" ref="rcptstat" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsltlst/P0049">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="statflag" visibility="hidden"/>
- <col ref="acptflag" visibility="hidden"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col ref="acptdttm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetlVisa(3);
- fDcAmtCalc();
-
- // 패키지 상세내역 조회
- var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- ahafGetPkgDetlList(PkgCd);
-
- // 건진이력조회
- var pid = model.getValue("/root/main/info/patinfo/item/pid");
- if (pid != "") {
- ahafGetHistList(pid);
- }
- model.refresh()
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_acptlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_rsrv">
- <datagrid id="grd_rsrvlst" nodeset="/root/main/list/rsrvlst" caption="예약일자^등록번호^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이^성별^나이/성별^상태^rsrvdd^rsrvno^rcptstat^visano^totamt^cmpynm^rsrvdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="75, 62, 64, 88, 60, 100, 65, 68, 74, 64, 50, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:291px; height:606px; ">
- <col ref="hopedd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="engnm"/>
- <col ref="pnm"/>
- <col ref="brthareacnts" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="rgstno1"/>
- <col ref="rgstno2" style="left:634px; top:23px; width:74px; height:23px; "/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="sexage" visibility="hidden"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="rcptstat" visibility="hidden"/>
- <col ref="visano" visibility="hidden"/>
- <col ref="totamt" visibility="hidden"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col ref="rsrvdttm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetlVisa(1);
- fDcAmtCalc();
-
- // 패키지 상세내역 조회
- var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- ahafGetPkgDetlList(PkgCd);
-
- // 건진이력조회
- var pid = model.getValue("/root/main/info/patinfo/item/pid");
- if (pid != "") {
- ahafGetHistList(pid);
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rsrvlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_cncl">
- <group id="group4" style="left:0px; top:3px; width:295px; height:37px; vertical-align:top; ">
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:1px; width:288px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption16" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">구분 :</caption>
- <select1 id="rdo_cnclmode" ref="/root/init/srchmode" appearance="full" cols="4" rows="1" overflow="visible" style="left:71px; top:8px; width:188px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>4</value>
- </item>
- <item>
- <label>예약취소</label>
- <value>5</value>
- </item>
- <item>
- <label>접수취소</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </select1>
- </group>
- <datagrid id="grd_cncllst" nodeset="/root/main/list/cncllst" caption="취소일시^등록번호^한글이름^코드^유형^주민번호^주민번호^나이^성별^나이/성별^rsrvdd^rsrvno^statflag^rcptstat^visano^engnm^cmpynm^cncldttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="72, 59, 84, 100, 65, 68, 74, 80, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:45px; width:292px; height:567px; ">
- <col ref="cncldd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="pnm"/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="rgstno1"/>
- <col ref="rgstno2"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="sexage" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="statflag" visibility="hidden"/>
- <col ref="rcptstat" visibility="hidden"/>
- <col ref="visano" visibility="hidden"/>
- <col ref="engnm" visibility="hidden"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col ref="cncldttm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetlVisa(4);
- fDcAmtCalc();
-
- // 패키지 상세내역 조회
- var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- ahafGetPkgDetlList(PkgCd);
-
- // 건진이력조회
- var pid = model.getValue("/root/main/info/patinfo/item/pid");
- if (pid != "") {
- ahafGetHistList(pid);
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_cncllst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_reex">
- <datagrid id="grd_reexlst" nodeset="/root/main/list/reexlst" allowselection="true" caption="접수일자^등록번호^비자연번^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이^성별^나이/성별^수납상태^rsrvdd^rsrvno^statflag^acptflag^cmpynm^acptdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="71, 63, 67, 146, 85, 70, 97, 188, 68, 74, 74, 72, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="above" style="left:5px; top:6px; width:292px; height:624px; ">
- <col ref="hopedd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="engnm"/>
- <col ref="pnm"/>
- <col ref="brthareacnts" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="rgstno1"/>
- <col ref="rgstno2" style="left:634px; top:23px; width:74px; height:23px; "/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="sexage" visibility="hidden"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="rcptstat" visibility="hidden"/>
- <col ref="visano" visibility="hidden"/>
- <col ref="totamt" visibility="hidden"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col ref="rsrvdttm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetRsrvAcptDetlVisa(1);
- fDcAmtCalc();
-
- // 패키지 상세내역 조회
- var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- ahafGetPkgDetlList(PkgCd);
-
- // 건진이력조회
- var pid = model.getValue("/root/main/info/patinfo/item/pid");
- if (pid != "") {
- ahafGetHistList(pid);
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rsrvlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="button2" class="btn_sw" visibility="visible" group="tab" style="left:120px; top:49px; width:60px; height:22px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_rsrv");
- //예약시 컨트롤 사용가능하게
- ipt_rsrvtm.disabled=false;
- btn_totrsrvdt.disabled=false;
- fGetList();
- //btn_acpt.disabled = false;
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|